﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HA.MT3DMS.DomainLayer
{
    [Serializable]
    public class MTGridLayer
    {



        public MTGridLayer(int nrow, int ncol)
        {
            this._nrows = nrow;
            this._ncols = ncol;


            this._dZ=new double[nrow,ncol];

            this._porosity = new double[nrow, ncol];


            this._icbund=new int[nrow,ncol];

            this._sConc=new double[nrow,ncol];

            for (int j = 0; j < _nrows; j++)
                for (int k = 0; k < _ncols; k++)
                {
                    _icbund[j, k] = 1;
                    _porosity[j, k] = 0.3;
                }

        }


        int _layerCon;

        public int LayerCon
        {
            get { return _layerCon; }
            set { _layerCon = value; }
        }




        int _nrows;

        public int Nrows
        {
            get { return _nrows; }
            set { _nrows = value; }
        }

        int _ncols;

        public int Ncols
        {
            get { return _ncols; }
            set { _ncols = value; }
        }



        double[,] _dZ;

        public double[,] DZ
        {
            get { return _dZ; }
            set { _dZ = value; }
        }


        double[,] _porosity;

        public double[,] Porosity
        {
            get { return _porosity; }
            set { _porosity = value; }
        }

        int[,] _icbund;

        public int[,] Icbund
        {
            get { return _icbund; }
            set { _icbund = value; }
        }


        double[,] _sConc;


        /// <summary>
        /// 初始浓度
        /// </summary>
        public double[,] SConc
        {
            get { return _sConc; }
            set { _sConc = value; }
        }


    }
}
